/**
 * Created by hcadmin on 16/6/14.
 */
var Action = require("../apiaction");
var DataProxy = require("data-proxy");
var httpconf=require('../../node_modules/data-proxy/lib/httpconf.js');
var Utility = require("../Utility/utility.js");

exports.userRouter = function(router){


    //课程管理
    router.all('/courseManagement',function(req,res){
        res.render('ct/courseManagement/courseManagement', {
            layout: 'ct/layout-ct',
            active: 'courseManagement',
            jscript: 'ct/courseManagement/courseManagement'
        })
    });
    //行动学习管理
    router.all('/actionManagement',function(req,res){
        res.render('ct/courseManagement/actionManagement', {
            layout: 'ct/layout-ct',
            active: 'actionManagement',
            jscript: 'ct/courseManagement/actionManagement'
        })
    });
    //用户管理
    router.all('/usersManagement',function(req,res){
        res.render('ct/courseManagement/usersManagement', {
            layout: 'ct/layout-ct',
            active: 'usersManagement',
            jscript: 'ct/courseManagement/usersManagement'
        })
    });
    
    //导师管理
    router.all('/tutorManagement',function(req,res){
        res.render('ct/tutorManagement/tutorManagement', {
            layout: 'ct/layout-ct',
            active: 'tutorManagement',
            jscript: 'ct/tutorManagement/tutorManagement'
        })
    });
   //问卷管理
    router.all('/questionnaireManagement',function(req,res){
        res.render('ct/questionnaireManagement/questionnaireManagement', {
            layout: 'ct/layout-ct',
            active: 'questionnaireManagement',
            jscript: 'ct/questionnaireManagement/questionnaireManagement'
        })
    });
    //轮播管理
    router.all('/carouselManagement',function(req,res){
        res.render('ct/carouselManagement/carouselManagement', {
            layout: 'ct/layout-ct',
            active: 'carouselManagement',
            jscript: 'ct/carouselManagement/carouselManagement'
        })
    });

};


